Fix cairo rendering on large subwindows
authorAlexander Larsson <alexl@redhat.com>
Fri, 24 Jul 2009 19:41:37 +0000 (21:41 +0200)
committerAlexander Larsson <alexl@redhat.com>
Fri, 24 Jul 2009 19:44:57 +0000 (21:44 +0200)
commita504784b4b458d32e770cab3c0e48229552652a5
tree332f67ebaab93f2f9db5576496ecb5bd6a773d4a
parentee876f94b145089baafbda05b05623b4c4de6ae7
Fix cairo rendering on large subwindows

We get the real pixmap size and use as cairo surface size rather
than doing some magic to try to get clipping on the right hand size
(and the magic looks wrong anyway).

The previous code could result in the width/height being to big for
the cairo 28.4 fix point size and thus not drawing anything.

This fixes bug #588076.
gdk/gdkwindow.c